package pc29.model;

public class DepartVO {

	private String depart;// 학과명
	private String tel;// 전화번호
	private String position;// 사무실위치
	private String chief;// 학과장
	private String hiredate;// 임명일자

	public DepartVO(String depart, String tel, String position, String chief,
			String hiredate) {

		this.depart = depart;
		this.tel = tel;
		this.position = position;
		this.chief = chief;
		this.hiredate = hiredate;

	}

	// priavte xxx yyy;
	// public void setYyy(xxx yyy){
	// this.yyy=yyy;
	// }

	public void setDepart(String depart) {
		this.depart = depart;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public void setPosition(String Position) {
		this.position = position;
	}

	public void setChief(String chief) {
		this.chief = chief;
	}

	public void setHiredate(String hiredate) {
		this.hiredate = hiredate;
	}

	// private xxx yyy
	// public xxx getYyy(){
	// return yyy;
	// }

	public String getDepart() {
		return depart;
	}

	public String getTel() {
		return tel;
	}

	public String getPosition() {
		return position;
	}

	public String getChief() {
		return chief;
	}

	public String getHiredate() {
		return hiredate;
	}

	public String toString() {
		String result = "";
		result += depart + " / " + tel + " / " + position + " / " + chief + " / "
				+ hiredate;
		return result;
	}

}
